package com.yuwenchao.superafflatus.service.impl;

import com.yuwenchao.superafflatus.pojo.entity.SuperLoginRoleUser;
import com.yuwenchao.superafflatus.mapper.SuperLoginRoleUserMapper;
import com.yuwenchao.superafflatus.service.SuperLoginRoleUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ChaooGG
 * @since 2021-05-31
 */
@Service
public class SuperLoginRoleUserServiceImpl extends ServiceImpl<SuperLoginRoleUserMapper, SuperLoginRoleUser> implements SuperLoginRoleUserService {


    @Autowired
    SuperLoginRoleUserMapper superLoginRoleUserMapper;

    @Override
    public void saveRoleUser(Integer uid) {
        superLoginRoleUserMapper.saveRoleUser(uid);
    }

    @Override
    public void saveSuperRoleUser(Integer uid) {
        superLoginRoleUserMapper.saveSuperRoleUser(uid);
    }


}
